<!DOCTYPE html>
<html <?php language_attributes(); ?>>
    <head>
        <?php 
            $fav_icon = get_option('redox_favicon');
            $header_img = get_option('redox_header_img'); 
            $use_header_image = get_option('redox_use_header_image');
            $sidebar_img = get_option('redox_sidebar_img');		
        ?>
		
        <meta http-equiv="Content-Type" content="<?php bloginfo("html_type");?>;charset=<?php bloginfo("charset")?>">   

        <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); 
            $image_id = get_post_thumbnail_id();
            $image_url = wp_get_attachment_image_src($image_id,'rokbar_small', true);
        ?>
            <meta name="description" content="<?php echo get_the_excerpt(); ?>" />
            <meta property="og:image" content="<?php echo $image_url[0]; ?>" />
        <?php endwhile; endif; elseif(is_home()) : ?>
            <meta name="description" content="Lo último de la música en el bulevar de Asia" />
        <?php endif; ?>
        <meta name="keywords" content="Diversión en Asia, Música en vivo Asia | Discoteca Rok Bar" />

        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

        <?php
        echo '<link rel="shortcut icon" href="'.$fav_icon.'" />';
        ?>
		
        <title>
            <?php
                if (is_single()) wp_title("",true);
                else bloginfo('name'); 
            ?>
        </title>
        
        <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

        <?php wp_head(); ?>

        <link href='http://fonts.googleapis.com/css?family=Lekton' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/custom.css" type="text/css" />
                
    </head>
    <body <?php body_class(); ?>> 
		<div id="header-expansion">
			<div class="minified-menu">
				<div class="minified-pages">
					<h3>
						Pages:
					</h3>
					<?php 
						wp_nav_menu( 
							array('menu' => 'redox_menu', 'depth' => 4 )
						); 
					?>
				</div>
			</div>
			<?php get_sidebar(); ?>
		</div>
		<div id="body-wrap">
			<div id="body-cover">
			</div>
			<div id="header">  
                            <div class="splash">  
                                <a class="logo" href="<?php echo home_url(); ?>">
                                    <img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
                                </a>
                                <div id="social-media-icons">
                                    <?php dynamic_sidebar('Rockbar Header Right'); ?>
                                </div>  
                            </div>
			</div>
			<div class="container_index">